<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">


<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
</head>

<body class="gray-bg">
<input hidden id="personalTaskId" th:value="${personalTask['id']}" />
<input hidden id="taskId" th:value="${personalTask['taskId']}" />
<div class="wrapper wrapper-content animated fadeInLeft" style="height: calc(100% - 40px)">
   <!-- <jsp:include page="/WEB-INF/view/common/functionDepict.jsp"/>-->
    <div class="testPaper-main">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins m-r">
                    <div class="ibox-title">
                        <h5>试卷信息</h5>
                    </div>
                    <div class="ibox-content pt10">
                        <div class="text-center">
                            <h3><span class="fs20 c-222" th:text="${personalTask['classesTask']['name']}"></span></h3>
                            <!--<h4>作业类型-${task.taskType.name}</h4>-->
                            <h5>
                                用时：<span th:text="${personalTask['examTime']}!=null and ${personalTask['examTime']}!=''? (${personalTask['examTime']}>60 ? (${personalTask['examTime']}-${personalTask['examTime']}%60)/60+'分钟'+${personalTask['examTime']}%60+'秒' : ${personalTask['examTime']}+'秒'):'0分钟'">
                                      </span>&nbsp;
                               <!--<%&#45;&#45; 总分：<span>${personalTask.score}分</span>&nbsp;&#45;&#45;%>-->
                                提交人：<span th:text="${personalTask['user']['nickname']}!=null ? ${personalTask['user']['nickname']}:'—'">
                                        </span>&nbsp;
                                提交时间：<span th:text="${personalTask['submitTime']}!=null ? ${personalTask['submitTime']}:'—'">
                                          </span>
                            </h5>
                        </div>
                        <div th:if="${#maps.isEmpty(personalTask['questionRecordMap'])}" class="noDataTipsBox">
                            <p><span class="c-4e fs16">亲，还没有数据~~~</span></p>
                        </div>
                        <div th:if="!${#lists.isEmpty(personalTask['questionTypes'])}" th:each="type:${personalTask['questionTypes']}" >
                            <div th:if="!${#lists.isEmpty(personalTask['questions'][type.id+''])}" class="pt10">
                                <h5>
                                    <span class="fs14 c-222" th:utext="'['+${type['name']}+']'"></span>
                                </h5>
                            </div>
                            <div th:if="!${#lists.isEmpty(personalTask['questions'][type.id+''])}" th:each="question,startIndex:${personalTask['questions'][type.id+'']}" class="m-l m-b" th:id="'target_'+${question['id']}+'_'+${startIndex['index']}+ 1">
                                    <div class="ic-tp-title">
                                        <p class="fs14 c-222">
                                            <span th:utext="${startIndex.index + 1}"></span>、
                                            <span th:utext="${question['examQuestionContent']['trunk']}"></span>
                                            <span class="c-orange" th:utext="'（'+${question['score']}+'分）'"></span>
                                        </p>
                                    </div>
                                        <!--<%&#45;&#45; 试题内容开始 &#45;&#45;%>-->
                                        <div th:if="${#maps.isEmpty(question['examQuestionContent']['subTrunks'])} and
                                        (${question['examQuestionContent']['typeValue']} ==1 or ${question['examQuestionContent']['typeValue']} ==3)"
                                             class="clearfix ic-answerNum-opBox m-t m-l-lg">
                                            <div class="ic-options-list" th:each="option:${question['examQuestionContent']['options']}">
                                                <label>
                                                    <span><em class="ic-answerNum-option" th:utext="${option['key']}"></em></span>
                                                    <address><span th:utext="${option['value']}"></span></address>
                                                </label>
                                            </div>
                                        </div>
                                        <div th:if="${#maps.isEmpty(question['examQuestionContent']['subTrunks'])} and
                                        ${question['examQuestionContent']['typeValue']} == 2" class="clearfix ic-answerNum-opBox m-t m-l-lg">
                                                    <div class="ic-options-list" th:each="option:${question['examQuestionContent']['options']}">
                                                        <label>
                                                            <span><em class="ic-answerNum-option ic-ac-checkbox" th:utext="${option['key']}"></em></span>
                                                            <address><span th:utext="${option['value']}"></span></address>
                                                        </label>
                                                    </div>
                                                </div>
                                        <!--<%&#45;&#45; 试题内容结束 &#45;&#45;%>

                                        <%&#45;&#45; 试题答案开始 &#45;&#45;%>-->

                                        <div class="m-r m-t" th:if="${#maps.isEmpty(question['examQuestionContent']['subTrunks'])} and
                                        ${question['examQuestionContent']['typeValue']} >=1 and ${question['examQuestionContent']['typeValue']} <=3">
                                            <div class="well arrowBox">
                                                <span class="c-999 fs14">正确答案：</span>
                                                <span class="c-green fs20 m-r" th:utext="${question['examQuestionContent']['answer']}"></span>
                                                <span class="c-999 fs14 ml10">用户答案：</span>
                                                <span th:if="${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer']}==${question['examQuestionContent']['answer']}"><!--${question.answer.trim()==userAnswers.trim()}-->
                                                    <span class="c-green fs20 m-r" th:utext="${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer']}"></span>
                                                    <span class="c-green fs24 ml10" data-toggle="tooltip" data-placement="top" data-original-title="回答正确"><i class="fa fa-check"></i></span>
                                                </span>
                                                <span th:if="${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer']}!=${question['examQuestionContent']['answer']}">
                                                    <span class="c-red fs20 m-r" th:utext="${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer']}!=null ?
                                                        ${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer']}:'未做答'"></span>
                                                    <span class="c-red fs24 ml10" data-toggle="tooltip" data-placement="top" data-original-title="回答错误"><i class="fa fa-remove"></i></span>
                                                </span>
                                                <div class="row m-t">
                                                    <div class="pull-left m-l"><span class="fs12 c-999">本题评语：</span></div>
                                                    <div class="col-sm-9"><!--<c:if test="${.marking == 2}">disabled</c:if>-->
                                                        <textarea th:disabled="${personalTask['marked']}==2?  'true':'false'"
                                                                  th:attr="data-record=${personalTask['questionRecordMap'][question.id+'']['id']}" class="form-control comment-box" placeholder="请输入评语内容" th:utext="${personalTask['questionRecordMap'][question.id+'']['comment']}">
                                                        </textarea>
                                                    </div>
                                                </div>
                                                <div class="row m-t">
                                                    <div class="pull-left m-l"><span class="fs12 c-999">试题解析：</span></div>
                                                    <div class="col-sm-9"><span class="fs12 c-999" th:utext="${question['examQuestionContent']['analysis']}"></span></div>
                                                </div>
                                            </div>
                                        </div>
                                        <div  th:if="${#maps.isEmpty(question['examQuestionContent']['subTrunks'])} and
                                        ${question['examQuestionContent']['typeValue']} ==4" class="m-l-lg pt10">
                                                <div class="m-r m-t">
                                                    <div class="well arrowBox">
                                                        <div class="row">
                                                            <div class="pull-left m-l">正确答案：</div>
                                                            <div class="col-sm-11">
                                                                <div th:each="answer, indexs : ${#strings.arraySplit(question['examQuestionContent']['answer'], '@')}"  class="mb10">
                                                                    <span class="c-green fs14 ml10" th:utext="${#strings.concat('（',  indexs.count, '）')}+''+${answer}"></span>
                                                                </div>
                                                            </div>
                                                            <div class="pull-left m-l">用户答案：</div>
                                                            <div class="col-sm-10">
                                                                <div th:each="answer, indexs : ${#strings.arraySplit(question['examQuestionContent']['answer'], '@')}"  class="mb10">
                                                                    <span class="fs14 ml10" th:utext="${#strings.concat('（',  indexs.count, '）')}"></span>
                                                                        <span th:if="!${#arrays.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'])}">
                                                                            <span th:if="!${#strings.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'])} and
                                                                            ${#strings.listSplit(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'],'@').get(indexs['index'])}
                                                                            ==${answer}" class="c-green fs14 m-r" data-toggle="tooltip"
                                                                                  data-placement="top" data-original-title="回答正确" th:utext="${#strings.listSplit(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'],'@').get(indexs['index'])}">  <i class="fa fa-check"></i></span>

                                                                            <span th:if="(!${#strings.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'])} and
                                                                            ${#strings.listSplit(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'],'@').get(indexs['index'])}
                                                                            !=${answer}) or ${#strings.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'])}" class="c-red fs14 m-r" data-toggle="tooltip" data-placement="top"
                                                                                  data-original-title="回答错误" th:utext="${#strings.listSplit(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'],'@').get(indexs['index'])}"><i class="fa fa-remove"></i></span>
                                                                        </span>
                                                                    <span th:if="${#arrays.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'])}">无作答</span>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row m-t">
                                                            <div class="pull-left m-l"><span class="fs12 c-999">本题评语：</span></div>
                                                            <div class="col-sm-9">
                                                                <textarea th:disabled="${personalTask['marked']}==2?  'true':'false'"
                                                                          th:attr="data-record=${personalTask['questionRecordMap'][question.id+'']['id']}" class="form-control comment-box" placeholder="请输入评语内容" th:utext="${personalTask['questionRecordMap'][question.id+'']['comment']}">
                                                                </textarea>
                                                            </div>
                                                        </div>
                                                        <div class="row m-t">
                                                            <div class="pull-left m-l"><span class="fs12 c-999">本题解析：</span></div>
                                                            <div class="col-sm-9">
                                                                <textarea disabled class="form-control" th:utext="${question['examQuestionContent']['analysis']}"></textarea>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="m-r m-t" th:if="${#maps.isEmpty(question['examQuestionContent']['subTrunks'])} and
                                            ${question['examQuestionContent']['typeValue']} ==5">
                                                <div class="well arrowBox">
                                                    <div class="row">
                                                        <div class="pull-left m-l">用户答案：</div>
                                                        <div class="col-sm-9">
                                                            <span class="c-4e fs14"
                                                                  th:utext="${#strings.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer'])} ?
                                                                              '':${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['answer']}">
                                                            </span>
                                                        </div>
                                                    </div>
                                                    <div class="row m-t">
                                                        <div class="pull-left m-l">正确答案：</div>
                                                        <div class="col-sm-9">
                                                            <span class="c-green c-4e fs14" th:utext="${question['examQuestionContent']['answer']}"></span>
                                                        </div>
                                                    </div>
                                                    <div class="row m-t">
                                                        <div class="pull-left m-l">我要打分：</div>
                                                        <div class="col-sm-9">
                                                            <div class="input-group">
                                                                <input th:disabled="${personalTask['marked']}==2 ?  'true':'false'"
                                                                       th:attr="data-record=${personalTask['questionRecordMap'][question.id+'']['id']},data-score=${question['score']}"  th:value="${personalTask['questionRecordMap'][question.id+'']['userScore']}" class="form-control input-score-box"
                                                                       type="text" th:attrappend="placeholder='本题最高分为'+${question['score']}+'分，输入不得超出'+${question['score']}+'分'">
                                                                <span class="input-group-addon">分</span>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row m-t">
                                                        <div class="pull-left m-l"><span class="fs12 c-999">本题评语：</span></div>
                                                        <div class="col-sm-9">
                                                            <textarea th:disabled="${personalTask['marked']}==2? 'true':'false'"
                                                                      th:attr="data-record=${personalTask['questionRecordMap'][question.id+'']['id']}" class="form-control comment-box" placeholder="请输入评语内容" th:utext="${personalTask['questionRecordMap'][question.id+'']['comment']}"></textarea>
                                                        </div>
                                                    </div>
                                                    <div class="row m-t">
                                                        <div class="pull-left m-l"><span class="fs12 c-999">本题解析：</span></div>
                                                        <div class="col-sm-9">
                                                            <textarea disabled class="form-control" th:utext="${question['examQuestionContent']['analysis']}"></textarea>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        <!--<%&#45;&#45; 试题答案开始 &#45;&#45;%>-->
                                        <div th:if="!${#maps.isEmpty(question['examQuestionContent']['subTrunks'])}" th:each="subTrunk,subTrunkIndex:${question['examQuestionContent']['subTrunks']}" class="clearfix m-l-lg">
                                                <div  class="c-666 m-t">
                                                    <span class="fs12"><i class="fa fa-question-circle c-999"></i></span>
                                                    问题<span th:text="${subTrunkIndex['index']}+1"></span>：<span th:utext="${subTrunk['trunk']}"></span>
                                                </div>
                                                <!--<span th:text="${subTrunk}"></span>-->
                                                <div th:if="${subTrunk['typeValue']}==1 or ${subTrunk['typeValue']}==3" class="clearfix ic-answerNum-opBox m-t m-l-lg">
                                                    <div th:each="option:${subTrunk['options']}"  class="ic-options-list">
                                                        <label>
                                                            <span><em class="ic-answerNum-option ic-ac-checkbox" th:utext="${option['key']}"></em></span>
                                                            <address><span th:utext="${option['value']}"></span></address>
                                                        </label>
                                                    </div>
                                                </div>
                                                <div th:if="${subTrunk['typeValue']}==2" class="clearfix ic-answerNum-opBox m-t m-l-lg">
                                                    <div th:each="option:${subTrunk['options']}" class="ic-options-list">
                                                                <label>
                                                                    <span><em class="ic-answerNum-option ic-ac-checkbox" th:utext="${option['key']}"></em></span>
                                                                    <address><span th:utext="${option['value']}"></span></address>
                                                                </label>
                                                            </div>
                                                </div>
                                               <!-- <%-- 试题答案开始 --%>-->
                                                <div th:if="${subTrunk['typeValue']}>=1 and ${subTrunk['typeValue']}<=3" class="m-r m-t">
                                                        <div class="well arrowBox">
                                                            <span class="c-999 fs14">正确答案：<span class="c-green fs20 ml10" th:utext="${subTrunk['answer']}"></span></span>
                                                            <!--<span class="c-green fs20 m-r">${fn:replace(subTrunk.answer, '@', '、')}</span>-->
                                                            <span class="c-999 fs14 ml10">用户答案：</span>
                                                            <span th:if="!${#maps.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray'])}
                                                                        and ${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+'']}==${subTrunk['answer']}"><!--${question.answer.trim()==userAnswers.trim()}-->
                                                                <span class="c-green fs20 m-r" th:utext="${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+'']}"></span>
                                                                <span class="c-green fs24 ml10" data-toggle="tooltip" data-placement="top" data-original-title="回答正确"><i class="fa fa-check"></i></span>
                                                            </span>
                                                            <span th:if="${#maps.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray'])}
                                                                        or !${#maps.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray'])}
                                                                        and ${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+'']}!=${subTrunk['answer']}">
                                                                <span class="c-red fs20 m-r" th:utext="!${#maps.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray'])}
                                                                                                        and ${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+'']}!=null
                                                                                                        ? ${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+'']}:'未做答'"></span>
                                                                <span class="c-red fs24 ml10" data-toggle="tooltip" data-placement="top" data-original-title="回答错误"><i class="fa fa-remove"></i></span>
                                                            </span>

                                                            <div class="row m-t">
                                                                <div class="pull-left m-l"><span class="fs12 c-999">试题解析：</span></div>
                                                                <div class="col-sm-9"><span class="fs12 c-999" th:utext="${subTrunk['analysis']}"></span></div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                <div th:if="${subTrunk['typeValue']}==4" class="m-l-lg pt10">
                                                        <div class="m-r m-t">
                                                            <div class="well arrowBox">
                                                                <div class="row m-t">
                                                                    <div class="pull-left m-l">正确答案：</div>
                                                                    <div class="col-sm-9">
                                                                        <div th:each="answer, indexs : ${#strings.arraySplit(subTrunk['answer'], '@')}" class="mb10">
                                                                            <span class="c-green fs14 ml10" th:utext="${#strings.concat('（',  indexs.count, '）')}+''+${answer}"></span>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="pull-left m-l">用户答案：</div>
                                                                    <div class="col-sm-10">
                                                                        <div th:each="answer, indexs : ${#strings.arraySplit(subTrunk['answer'], '@')}" class="mb10">
                                                                           <span class="fs14 ml10" th:utext="${#strings.concat('（',  indexs.count, '）')}"></span>
                                                                           <span th:if="!${#maps.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray'])}
                                                                                        and ${#strings.listSplit(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+''],'@').get(indexs['index']).contains(answer)}" class="c-green fs14 m-r" data-toggle="tooltip" data-placement="top" data-original-title="回答正确">
                                                                                <span th:utext="${answer}"></span>
                                                                                <i class="fa fa-check"></i>
                                                                            </span>
                                                                           <span th:if="${#maps.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray'])}
                                                                                        or !${#maps.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray'])}
                                                                                        and !${#strings.listSplit(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+''],'@').get(indexs['index']).contains(subTrunk['answer'])}" class="c-red fs14 m-r" data-toggle="tooltip" data-placement="top" data-original-title="回答错误">
                                                                                <span th:utext="!${#maps.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray'])}
                                                                                            and !${#strings.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+''])}? ${#strings.listSplit(personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+''],'@').get(indexs['index'])} : '未回答'"></span>
                                                                            <i class="fa fa-remove"></i></span>
                                                                       </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row m-t">
                                                                    <div class="pull-left m-l"><span class="fs12 c-999">本题解析：</span></div>
                                                                    <div class="col-sm-9">
                                                                        <textarea disabled class="form-control" th:utext="${subTrunk['analysis']}"></textarea>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                <div th:if="${subTrunk['typeValue']}==5" class="m-r m-t">
                                                    <div class="well arrowBox">
                                                        <div class="row">
                                                            <div class="pull-left m-l">用户答案：</div>
                                                            <div class="col-sm-9"><span class="c-4e fs14" th:utext="!${#maps.isEmpty(personalTask['questionRecordMap'][question.id+'']['userAnswerArray'])} ? ${personalTask['questionRecordMap'][question.id+'']['userAnswerArray']['sub'][subTrunkIndex.count+'']} : '未作答'"></span></div>
                                                        </div>
                                                        <div class="row m-t">
                                                            <div class="pull-left m-l">正确答案：</div>
                                                            <div class="col-sm-9"><span class="c-4e fs14" th:utext="${subTrunk['answer']}"></span></div>
                                                        </div>
                                                        <div class="row m-t">
                                                            <div class="pull-left m-l"><span class="fs12 c-999">本题解析：</span></div>
                                                            <div class="col-sm-9">
                                                                <textarea disabled class="form-control" th:utext="${subTrunk['analysis']}"></textarea>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <!--<%-- 试题答案开始 --%>-->
                                        </div>
                                        <div th:if="!${#maps.isEmpty(question['examQuestionContent']['subTrunks'])}" class="well arrowBox">
                                            <div class="row m-t">
                                                <div class="pull-left m-l">我要打分：</div>
                                                <div class="col-sm-9">
                                                    <div class="input-group">
                                                        <input th:disabled="${personalTask['marked']}==2?  'true':'false'"
                                                               th:attr="data-record=${personalTask['questionRecordMap'][question.id+'']['id']},data-score=${question['score']}"  th:value="${personalTask['questionRecordMap'][question.id+'']['userScore']}" class="form-control input-score-box"
                                                               type="text" th:attrappend="placeholder='本题最高分为'+${question['score']}+'分，输入不得超出'+${question['score']}+'分'">                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row m-t">
                                                <div class="pull-left m-l"><span class="fs12 c-999">本题评语：</span></div>
                                                <div class="col-sm-9">
                                                    <textarea th:disabled="${personalTask['marked']}==2?  'true':'false'"
                                                              th:attr="data-record=${personalTask['questionRecordMap'][question.id+'']['id']}" class="form-control comment-box" placeholder="请输入评语内容" th:utext="${personalTask['questionRecordMap'][question.id+'']['comment']}"></textarea>
                                                </div>
                                            </div>
                                        </div>
                                </div>
                        </div><!--结束 &#45;&#45;%>&ndash;&gt;-->
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--<%&#45;&#45; 题型
<!-- 答题卡开始 -->
<div class="tp-marking-right-bx">

    <div class="tp-mrb-bx">
        <div class="tp-marking-rb-wrap">
    <div class="ibox-title">
        <div class="pull-right">
            <span class="c-green fs12"><i class="fa fa-circle"></i> 正确</span>
            <span class="c-red fs12 ml5"><i class="fa fa-circle"></i> 错误</span>
        </div>
        <h5>答题卡</h5>
    </div>
    <div class="m-l m-r m-b">
        <div th:if="!${#lists.isEmpty(personalTask['questionTypes'])}" th:each="type:${personalTask['questionTypes']}" >
            <h5 class="pt10" th:if="${personalTask['questions'][type.id+'']}!=null">
                <span class="c-222 fs14" th:text="${type['name']}"></span>
            </h5>
            <div class="ic-answerCard-num-list">
                <ol class="clearfix" th:if="${personalTask['questions'][type.id+'']}!=null">
                    <th:block th:each="question,index:${personalTask['questions'][type.id+'']}">
                        <li class="" th:if="${question}==null or ${question['marked']}==2">
                            <a th:href="'#target_'+${question['id']}+'_'+${index['index']}+ 1" th:text="${index['index']} + 1"></a>
                        </li>
                        <li th:if="${question['score']}==${personalTask['questionRecordMap'][question.id+'']['userScore']}" class="ic-ac-correct">
                            <a th:href="'#target_'+${question['id']}+'_'+${index['index']}+ 1" th:text="${index['index']} + 1"></a>
                        </li>
                        <li th:if="${question['marked']}!=2 and ${question['score']}!=${personalTask['questionRecordMap'][question.id+'']['userScore']}" class="ic-ac-error">
                            <a th:href="'#target_'+${question['id']}+'_'+${index['index']}+ 1" th:text="${index['index']} + 1"></a>
                        </li>
                    </th:block>
                </ol>
            </div>
        </div>
        <hr/>
    </div>
</div>
    <div class="tp-mrb-foot" th:if="${personalTask['marked']}==1">
        <button type="button" class="btn btn-danger" id="saveMarkFinish"> 保存发布</button>
        <button type="button" class="btn btn-info" id="saveMarkReturn"> 保存返回</button>
    </div>
    <div class="tp-mrb-foot" th:if="${personalTask['marked']}==2">
        <button type="button" class="btn btn-info" id="returnBeack"> 返回</button>
    </div>
</div>
</div>
<div data-th-replace="layout/head-footer"></div>
<script type="text/javascript" th:src="@{{path}/admin/business/classes/member/task-exam-mark.js?v={v}(path=${staticPath},v=${v})}"></script>
<script th:inline="javaScript">
    var wintype =[[${type}]];
</script>
</body>
</html>